Assorted Java Programs