finding diamond riches formula cxpl