Added a rmSingle() function for the pruning. Not sure if necessary; will move on for now.