Project Euler 98 - Anagramic Squares

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