Create randperm.py