Exercise in constructing a URL-shortener.