Project Euler 68 - Magic 5-gon ring

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