added a primitive parallel stack implementation