commit 4 : insert is working for inserting node in last position