Vector class

Added the vector class with some useful functions to start with.