compare function done, work wiz no concurrence
Positions representation in digit base