Course work for Coursera.org algorithm class part 1