A simple boolean expression interpreter