Algorithm For Linked List Operations Programming Games In C