Problem 16 - Power digit sum