Added board initialization function
Added creation of initial state to main