Implemented QTNode insertion. Need to come up with better tests.