Parses the strings in to an acceptable format by the board class