add scala solutions for add reversed numbers