added self referential structure problem including the right solution
added sum of number in array with wrong return value