Когда я шла домой, я встретилАСЬ с ним на улице \=встретила его на улице\ я случайно с ним столкнулась\"
as in 'While I was walking home, I ran into him on the street."
Когда я шла мимо киоска\= проходила мимо киоска\, я купила газету. \= Проходя мимо, я купила газету в киоске\.
as in "When I was walking past the newsstand, I bought the newspaper".
You use the verb "шла" very well, if that is what you mean, the sentences sound natural. I've just added some more translations. Well done, OnlyWasp.