added prelim solution to prob 5