Create a number guessing game from scratch using python