Implement maze generator