Add Java homework1