Added GemStones.java

This is solution to Gem Stones problem on hackerrank.com