Added solution to the 3D vector class in Python