Update adventure-game-gui

Moved the main chunk of movement code into separate functions to make the code easier to understand, made the gui update the location of the dragon after the player move.