Add basic logic operations
Added code to implement basic logic operations within the new conditions class. All logic operations are set to work within the ops format.