Create a Python class that implements the methods of a k tree algorithm.
Implement the following methods.
insert
inserting the value into the tree under a given parent nodepre_order
iterate through the tree calling visitor on pre orderpost_order
iterate through the tree calling visitor on post orderbreadth_first
iterate through the tree calling visitor on breadth first order