ch2 exercises, updated ch1 to minitest