classify the animals into different groups with the help of a flowchart