Cleaning up; setting way for introducing self-balancing trees as the main data structures(phasing out singly linked lists)