added vector class

basic operations on vectors