homework for 6.816