You are correct. Never ever talk to the police. They are not your friend. Anything you say to a police officer can be used against you in a court of law, period.
Be polite, but, never talk, because when you do you give up your 5th ammendment right. When they ask you a question, respond with a...