he passed an old cart on the slope , crossed the road and with an effort climbed the wall , he sat down on the other side and took a piece of cake wrapped in his handkerchief from one pocket and a bottle of beer from the other .