A gunman who at one point masqueraded as a policeman killed at least 16 people in the Canadian province of…