find country code by ip using ip ranges
 implemented by TreeMap