Automatic welding machine for tank construction