This script validates password with following conditions
- Length – minimum of 10 characters.
- Contain both alphabet and number.
- Include both the small and capital case letters.
- Color the output green if it passed the validation and red if it didn’t.
- Return exit code 0 if it passed the validation and exit code 1 if it didn’t.
- If a validation failed provide a message explaining why