Do you think the following bit of text is grammatically correct ?
He went to the shop to buy some food. When he got there the shop was closed. He went to another one, which was closed too. There were just 3 shops in the neighborhood, and he knew that if that one would be closed, then it would leave him no other option but to spend the night hungry. He knew the chances the last shop would be open were slim. Yet he went on to try his luck.
He saw the light in the building was on as he was approaching. The closed sign on the door hadn't been put either, so evidently the shop was open. "Lucky this time" he thought. He pushed the door and stepped in.