A basic implementation of lock-free stack