Add missing random import.
Merge pull request #2 from Ayrx/add-missing-import

Add missing random import.