SQLite3 based questions program