Simple implementations of algorithms from Algorithm Design by Jon Kleinberg.