7.1. Random number generator

@kirich1409 my homework "Random number generator"