Moves squareVal function from Test to Board module
Adds AI module