Highly functional Vector class implemented