Change toArray to output a single-dimensional, flattened array
Merge branch 'dev' of github.com:jxb532/EECS366-HW3 into dev