Бородулина - Лабораторная работа №0

`isEmpty` would be better. It might be useful to add `clear` method.