finished problem 2
finished third challenge.  Really bad algorithm though