added solutions to a number of acm problems