I was the one whoThis structure emphasizes that the speaker was the person who did something: sono stato io a + infinitive. For a female speaker, use sono stata io a. The second example appears to contain a grammatical error; it should be sono stato io a fare una passeggiata.