Added functions

Created functions and comments for this assignment.