rename function: push and pop may be tricky for a "ring", I use "put" and "get" this time.