def pop(self):
    if (self.size() == 0):
        return None
    else:
        return self.items.pop()
def pop(self):
    if (self.size() == 0):
        return None
    else:
        return self.items.pop()