SMS: Introduction to graphical modelling