Working on insert function

Still WIP!!!