ad-hoc java scripts for learning java