Day6 Pull Request for Code Review

I think we can improve the method name here :sweat_smile: 
generateUnique... what? :bow: