Lab 2. IsHeap task
1