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