file-level comment, different header extensions

Adds a comment to the top of the file with file name, author, course,
and date. Also works with different cpp header extensions.