Added support for creating a board from a string representation.