Add solution to 'Hidden digits'