Metal and nonmetal cutting machine