Added some code to insert value for empty leaf-node