Fabrication of Si and Ge vertical nanowire for transistor applications