Check if a string str is a title text or not. A title text is one which has all the words in the text start with an upper case letter.
check_title("A Mind Boggling Achievement") ➞ true
check_title("A Simple Ruby Program!") ➞ true
check_title("Water is transparent") ➞ falseN/A