Create Remove Nth Node from End of List (pyemma)