Added answers to the resultant output.

Added get_answer function to Student class.