Added a function to invert the movements in a string. Used to take Link back to the Door.
Now outputs to the solution log the inverse movements which take link from the item in a dungeon to the door.