add week2's solution