Working on implementing the Minimax algo for the AI, improved the functi...

...ons for placing pieces onto the board.