My tree implementation