update on example 1

Still working on getting things to loop rather than call string
functions.