Note that you might need to modify the input file for the code to work. Here are the modifications you will need:
Add -1 to the end of the input.
Replace all words ("down", "forward" and "up") with their first letters ("d", "f" and "u", respectively). Add @ to the end of the input
DISCONTINUED. Might get back to it after 2022 AoC is over