Hacker News new | ask | show | jobs
by 3pt14159 5298 days ago
I wrote it out in python for you: http://pastebin.com/5hX9ZMvB

and the solution written out in words below, also in python (I like this one better)

http://pastebin.com/PapfMhfU