HW11 AI: optimization and bug fix

Emulator: http://smg-gwt-emulator.appspot.com/GwtEmulator.html

Game: http://7-dot-nyu-smg-mastermind.appspot.com/