Add logical operator functions

Add lt/lte/gt/gte comparator functions and tests

Add rest of logical operators