Fixed problems two and three. Started on problem #4.