removed the result from the add two list function.
changed prev to temp in add_two_lists function.