updated logic.hs
Merge branch 'master' of https://github.com/erikduvet/ErikAndersLabs