I am creating a simple singly linked list and trying to insert a node at start, mid and end of the list. But my \'insertAtMid\' is not working properly and its crashes the progr