Create getContents.py

Python script that extract the contents titles from PDFs and returns them, each on a new line