'Returns the CallStack at index k, indexing from the top of the stack.'

def __getitem__(self, k):

    orig_k = k
    for i in self:
        if (k == 0):
            return i
        k -= 1
    raise IndexError(orig_k)
