Added method pop(String) in Pile