Committing corrected version of vector.c
adding updated version of matrix2.c for exam 2