created arrays for board and html elements