Assignment 4: Binary Search Trees Solution