Advent of Code Day 18 >> Spoilers <<
I'm somewhat proud that I managed to get a working solution to this at all - by all means poke holes in this and tell me how to do it better; this is a learning exercise for me and the tips here have been very insightful.
The problem involves finding the total number of tiles enclosed by the path provided as L, R, U, D and distances (e.g. R 6, D 5, ...). The [Shoelace formula](https://en.wikipedia.org/wiki/Shoelace_formula) is a nice way to achieve this.