Added ch5 exercises

For review
I tested this script using "fred30" as the first input line. This passes the regex so fails to die. Could change to /^[0-9]+$/