Change board representation, grid appearence

Change board from matrix to flat array, remove outer border of board,
set up web worker for future ai