Added reverse and paths function to the SQLiteDatabase class.