Fixed errors in board.py