Redefined [] operator for Board class to access elements by position on the board