submit vec.py and mat.py

vec.py handles the operations of vectors
mat.py handles the operations of matrix