Added insertion algorithm in c  w comments