Solution to level 72 in Untrusted: http://alex.nisnevich.com/untrusted/