improved show() method and took out superfluous code in insertIntoTree() method.