added NumGuess and pdf for assignment