J: logical operators

refactored binops and unary ops a bit for logical ops