m.surround function

A function to generate m-surroundings