Add a length function
one trail=uneven array
not the right way trying to grasp with isdigit().Should be
on the product, not the number!!!