ring-ping ported to os/x and freebsd

ring-ping ported to os/x and freebsd
-n option added to limit the number of nodes
-d option for debugging