Project Euler 28 - Number spiral diagonals

Official link: https://projecteuler.net/problem=28