add removeNthFromEnd.cpp