created Object for the board elements
Toggle color of BoardElements on click