created basic js for game play, including random number generator, guess counter, guess tracker, and game reset