add: implement queue by stack

Signed-off-by: xbz <xbz.o3sig@gmail.com>