Not sure why the program is only giving the shortest string. Any ideas?