changed java filename to Main

This should allow `public class Main` and more than one class as well.