Quick readme of how I solved this one.
Added note about an alternate (less optimal) solution