simple java programs to explore java features