Delete nth element from middle of linked list