changed algorithm for creating shortly.url