Add 'Ugly Numbers' solution.