Neural Logic Networks