done the first example of chapter 5 - the questions network with data