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)