algo programming question 1 and problem set 1 and solutions