A correction to the answers I gave out in class for section 1.3 #1a

A straight-forward code for section 1.3 #1a

A more flexible, but harder to read for section 1.3 #1a

A straight-forward code for section 1.3 #8