added solution for 'find2NodesForSum'