Tweaks

I changed randrange to randint to make it more appropriate for ints.