Added basic S3 (tri-term, sliding window) query generator. Need to remove duplicate terms