Add Tree class. Add Node class. Add Pattern class. Write simple tests for these classes