Implement a basic maze generation method