Mastering Algorithms with C  http://examples.oreilly.com/9781565924536/