Exercise solution 1.1
A tabular function