Refactored code to randomly generate soft rock.