added comments to exam.rb and exam_test.rb