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