Solution for the first exercise (correction)