hw8

finished prob 2a