Code written for the exos of the intro course