Some java 101 programs