List checks cycles.
Adds personal binary search tree