added in order traversal, insert, finished build tree functions.