Added functions to Programming Assignment 2