adds ring sample

Signed-off-by: mrzl <lzrm@mrzl.net>