Andy chapter3

Didn't need to break out of the loop on newlines. Could have had it exit on a period here.