Solution of Project Euler #17: Number to words