Finally fixed a bug where AutomaticInput choses wrong moves on unbalanced boards.
Extracted some methods for identifying the game state
Extracted some methods in Terminal UI for more clarity
Removed duplication in AutomaticInput by replacing minimax with negamax
Reworked Board's API
Reworked some of the functions used by the terminal ui. Added option for displaying board indices.