Random combination generator

This snippet generates a random combination of uppercase, lowercase characters and 0-9 digits, according to a given length.