Created a new abstract class SubExpressionLogic to store all
logic-related operand expressions in, because of the large amount of
similarities.
Implemented LogicOr.