Exercise. Check syntax returns Either with error message