Initial implementation of custom vector class