sets
top
to - 1, ti signify empty
(*ps).top = -1;