Added a new java-mode snippet main_class

This snippet expands to a Java class with main() method defined in it.