Code for Coursera Algorithms Design and Analysis Class