Finding the longest word of a sentence using a For Loop and If