Fixed board initialization crash

The individual squares also need to be initialized with new.
Corrected contentents setting logic