40% done

#2. The logic behind URL shortening