Added classes to access adjacent squares in board