Update Main.java

Function added : 
1) Display students attendance