Automatic flame and plasma cutting machine