Added docs for logic module
Modified simplify_logic docs
Merge pull request #2304 from srjoglekar246/logicdocs

Added Sphinx docs for logic module