Just some simple java examples