I move the code into a new cpp file, so it is no longer a header-only library. I also take the chance to add a for-each function for testing iterators. Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>