commit 5 : insert is working for inserting node in middle