Added default code provided for the assignment.