Modify database seed data to be compatible with Rails 4

Technically not compatability, just making sure that it works in general.
Assigning the id based on a sequence of random numbers potentially leads
to collisions since the loop is iterated 5 times.

This was happening frequently when seeding database on Rails 4 and needed
to change.