Implementation for Basic Tree Operation