Generating random exercise complete, optimized some other features.