working on the logic of bulls and cows