complete basic vector class and test