completed function for initializeBoard
We can now convert Strings into Board states!