classification of farm animals based on size habitat and stomach