Mastermind AI programmed in Java