added the sample script for connecting postgresql on python