Changing char array comparison