Add the tool for using with valgrind. This was a draft tool to understand how something like this could be done with valgrind.