Home work 1 (w/o AVL)