Solution to Add Two Numbers Problem