Basic string expression checker. No main provided.