game of Mastermind in Java