Sdt chapter6

Maybe could have used an else instead of a next.