linked list init, insert front and insert to position