Answer for the first homework