GEneration successfully completed: generates all possible combianations, however, gives precedence to double or triple substition whenenver it can, than single substitions.