Code templates in Java, used for contest programming