Added swap function and addTwoNum without operator