Added shorten_URL subroutine