example of simple and compound statement in logic