python compare strings ignore case and whitespace