Basic Code Refactoring of Labyrinth.cs