maze logic works. with images.