Finished lab 9 (not tbb version)