Short programs used to learn Java