Bash functions for printing DONE or FAILED and YES or NO  messages