Full Java homoworks