Fix duplicated code in state class
Fix bug in flip the board change
Implement negamax
Add method for getLegalMoves, removed redundant code
Add exception handling for human moves
Add MIT license