Java homework since 14.10.2014