Java projects and homeworks