setting the board size
added mapping from intersection points to board coordinates and moved some parts into a header file