shortenURL() is done (lookupURL() still needs to be written).