Bildung einer magischen Sqare -Hackerank in JavaScript

8 3 4
1 5 9
6 7 2
Muddsar Rasool