started learning about passing by reference to functions, updated function map, transform, and other function arguments for passing the vector around