an example of the update to ast

Just to get things started I got the first problem that does static analysis (if1.tut) updated to use ast - some comments added about the changes