Maked class Labirinth with generator