added parser for text representation of labyrinth