import sqlite3


def database_connector(database):
    """[connect to sqlite3 database]
    
    Args:
        database ([string]): [database to connect to.]

    Returns:
        [connection]: [the data base connection]
        [cursor]: [allows communication with the connected database]
    """
    connection = sqlite3.connect(database=database)
    cursor = connection.cursor()
    return connection, cursor