added solution to 6 problems