Accepted version of adding two numbers represented in a list in reverse order