Guess a four digit number generated by computer with least amount of tries and in the least amount of time