The Formation and Stability of a Microbial Community