I trying to solve the problem with 16 diagonals. It has an online interactive example link
And my code https://repl.it/@donchak1610/WickedApprehensiveMacro#main.py