Vector Class Implementation