Part 8 Complete

Done in class

Changed variance to push into an array to use the previous mean function