Program of sum of elements above and below diagnols