Adding statistics to ring.erl and ring_dist.erl

Also added comment about running erl with +P option to set the max. number
of processes.