Implement "randstr" command