Escape Plan

You've managed to get yourself stuck in the middle of nowhere with nothing but your wits and a faint recollection of a vague plan. Don't worry, we've got you covered. Here's a basic escape plan:

Optional Subroutines