My code for the Princeton Algorithms class, via Coursera