Using and comparing binary search trees and AVL self balancing trees