little java thingy made in first week of Internet Technology lecture, uploading for 'posterity'