CS 340 HW 1