Fixed bugged with not making random strings and re organized for readability