exercises 1-8 done, tests passing