MyVector implementation