Added logical operations AND, OR and NOT