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