Tuenti Challenge 2013 solutions (Python)