Created tiles by placing img inside divs inside links on the gameboard div of the page. Connected not yet existing onclick event to the links.