Milestone 15

reading lines from the input string
try catch and such