Code for the scalameter tutorial