Solutions to the exercises in the basics tutorials