tests for chapters 8,13
8.1,2 ScalaCheck Prop
14.1 STArray.fill