Added .pdf to the gitignore and nDigits function for Lab4