Actually, I'm surprised that your code ran at all. Technically, you never created the x type, only the w type. In other words, you had:
w.chair = New chairBut you forgot:
x.chair = New chairUnless you simply forgot to add that when you entered it in the forums, that's probably your whole problem; you were calling a field from a type that didn't exist.