Linked List representation of a graph using c program