Coursera Algorithm I Program Assignment