a cobra is a type of snake