adding solution to second quiz...