A simple java example that I need online to test some stuff