Added valgrind tester - execute with input in the input file to automate testing for memory leaks.