some java program from learning, only for personal study.