homework1 to HTM246 course