BullCows Section 2

My solution