Add function to initialize the board
Split helper functions into a header