homeworks on java-advanced cource. ITMO, 2014