Write the structure of the major organic product in each of the following reactions:
(i) $$CH_3CH_2CH_2Cl + NaI \xrightarrow [heat ]{acetone} $$
(ii) $$(CH_3)_3CBr+KOH \xrightarrow [heat]{ ethanol }$$
(iii) $$CH_3CH(Br)CH_2CH_3 + NaOH \xrightarrow []{water} $$
(iv) $$(CH_3)_3CBr+KOH \xrightarrow [heat]{ ethanol }$$
(v) $$C_6H_5ONa + C_2H_5Cl \longrightarrow$$
(vi) $$CH_3CH_2CH_2OH + SOCl_2 \longrightarrow$$
(vii) $$CH_3CH_2CH = CH_2 + HBr \xrightarrow [ ]{peroxide}$$
(viii) $$CH_3CH = C(CH_3)_2 + HBr \longrightarrow $$