Matt wrote this using STL. It is GPL'ed.