added dictionary and maze