Function that creates unit basis vectors for R^n.
@ param i : which element to set to 1 in basis vector
This function makes a basis vector by setting all the elements of the vector v to zero except for the i-th element which is set to one.