finding diamond riches formula cawk