Implemented memory leak exercise
"played with function pointer lab"