Project Euler: #16 - Power digit sum