Core Mazegeneration done

The essential parts of the maze generation is completed.