Revamped random function to only use simple characters a-zA-Z0-9