compare two strings in c without using strcmp