Finished week 2 + error checking package

Finished all week2 programs and added an error checking package with
intparse and range checking.