Diagonal Difference Hackerrank Solution Code