Random order generator implemented
Argparsing moved to own functions.