Overlapping Branes in M-Theory