Merge pull request #54 from MilesChou/exam-function

Exam function