Creating title slug from title. this-is-an-example-for-slug.

Input: title.

Output: title-slug.