This is a utility to encode/decode the google polyline