Some java code written at HackBulgaria cource.