Refactored GameScene.swift for readability

Moved some code to Dungeon.swift because it made more sense there