Added initialize labyrinth function