Python Database connection

Credits to http://www.tutorialspoint.com/sqlite/sqlite_python.htm