Vector Object Implementation in Python