functionality to randomly select set of modes and keys for transpoisition. checker to make sure no duplicates