Figured out logic for creating random array for new password.