java: home work from devclub, and some samples