Function for binary addition of two C strings