An organic compound [X] (molecular formula \(C_5H_{11}NO\)) when reacted with \(Br_2/\text{aq. NaOH}\) yielded [Y] which reacts with \(CHCl_3\) and ethanolic KOH to produce a foul smelling compound. Compound [Y] also reacts with HONO to produce Butan-1-ol with liberation of \(N_2(g)\). Identify [X].