Completed Assignment 4
-going to try to vectorize so the runtime could be improved