changed boolean order to allow lowercase

added second boolean statement to check range of random for capitals
removed second check for if lower case since random maxes out at 122