PA1: 'cycle' update

https://class.coursera.org/ntumlone-001/forum/thread?thread_id=178