parses walls and empty. TODO: finish parsing robot.