Added documentation and comments to Board.java