Implement AND using guards.