how does a cow stomach work