Removed unncesssary complexity in generating random number, using timestamp instead as a more elegant solution.
Sometimes "ant" shows up in the list of FIPS codes. Added a check to log and skip over it.