Create a function that given an integer, returns an integer where every digit in the input integer is squared.
By Heidi Corwin at Apr 15 2021