Functional minimax search
Fixed some bugs in minimax
Minimax seems to be working and returning best board