created first pass at Tree class