Added complete functionality for Checkout class

Checkout now prints the correct version of the file to the terminal,
and follows by printing the comment and timestamp.