Update Main.java

A few test added to Exam.