7 system random generator.
i++ => ++i
Fixed comments.