* Implemented functions addMove, setMarkAt and updateBoard
* Added some efficiency to the code