Added script to run valgrind to test for mem leaks