Copy is_pandigital into common

- Moved is_pandigital function to common
- Removed is_pandigital from problem #32