hw5 problems