pseudocode of MeetingsNearMe