Link shortener (as an exercise)