deleted redundant clearBoard()