updated Hw1Sol for style