Added Frequent Prime Range Problem in java