Looking for a sci fi novel written many years ago. It takes place on a planet  
inhabited by gigantic ants. There are four groups of humans called alpha  
humans who work for the ants. The groups are marked by having their hand  
encrusted by 'gems' created by the ants. There are also beta humans. Can  
anyone help with the name of this book?