Changed up logical-and cost formula to add in t-term
Merge branch 'master' of github.com:seanyeh/DBAlgorithm