Python script which (hopefully) generates all possible combinations depending on length given