replaced NUMERIC by {0,1} in writeArff() following Saeedehs request.