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