hw5 corrected ex1 to check for the white space character ASCII code 32