working on stringToMaze