Added password to guessing game, also tested defining functions