added arraygen.py