add function for generating my secret number and tested it