MyVector class completed