First exam tasks implementation
Merge https://github.com/ivanppetrov/Core-Java-1-Tasks