Assignment #5: Binary Search Trees Solution