vector.py for creating random vectors