Added code to run gprof and gcov

It should work to put the gcov info in the student log file by calling
the function I wrote for it. gprof isn't finished as I don't know where
to put its stats (e.g. student logfile, it's own file ... etc)
Gcov is now implemented.

NOTE: I am not cleaning up the gcov files after/during execution. This
may or may not be desireable.
Got gprof running, though not producing gmon.out

I'm not sure what's going on but calling gprof on the student executable
after testing works even though there is no gmon.out file.
gprof and gcov now fully implemented