Program to delete n nodes after m nodes in a linked list