Multifunctional CNC wood lathe