getStateCode function

Return state ISO codes at specified locations