A URL shortener exercise