Add base version of lock-free stack.