Assignment 4, Standford Algorithms MOOC #1