Solution for AddTwoNumbers.cpp