Problems 4 (added random exercise)