Some problems in convert value to array is solved. Beginning of the check sum method.