partial prob 3
prob 3 complete