A Mechanical Model of Cell Segregation Driven by Differential Adhesion