Updated code from Stefano: fixed makeMove() bug, added comments to Board