Implements 3 simple java programs mainly revisiting java syntax