Sample code of the talk we gave at Code Jam UWC.