Not clear code (if (str [0] == 's' && str [1] == ...)) in maze.cpp cleaned.