Ignore samples.txt
Remove import for log package
rand.Intn is what we need.
uints instead of ints where applicable