added a writeToDB file with a function to write the tuple array to the database
removed the print statements
Merge branch 'whatsnextapi' of github.com:oSoc13/CityLifePatterns into whatsnextapi after merge with writeToDB feature