Use `random` instead of `randint`
Fix comments