Completed implementation of drawBoard.