Generator range_10 powinien generować 0-9

"There are two hard things in computer science: cache invalidation, naming things, and off-by-one errors."