Amazon 2013 challenges in Python