rosettacode bulls and cows