adding regression homework

Couldn't figure out how to change yes, no to 1, 0.  I'm like 90% I know how to do it, just couldn't get it right for some reason.