added Problem6, 7, & 8