(Java) A quick and dirty implementation that parses and evaluates a logical expression in post-fix form.