Python BodMath game with Sqlite3 database