I want a function checkPassword function, which should check if the password parameter adheres to the following rules:
- Must be longer than 6 characters
- Allowed characters are lower or upper case Latin alphabet characters (a-z), numbers (0-9), and special characters +, $, #, \, / only
- Must not have 3 or more consecutive numbers (e.g. "pass12p" is fine, but "pass125p" is not, because it contains "125")
checkPassword should print "true" to the console if the password parameter adheres to the said rules, and "false" if it does not.