Modifies "analyze" to use the sqlite3 database instead of having to read the data.txt file in its entirety.