some examples of java program