R Tutorial 5: Object oriented programming