Create dbconnection.py

This is used for database connection and for coding of python projects.