Fixed valgrind lecture
Added examples for valgrind