Worked on HW1 for cs415