Adding solution to Problem 41. Also extracted Pandigital checking function into a utitlity class.