#java programs for practice