started writing up prob5a
more progress on prob5