All Paths and Sum of the numbers formed