Cohen-macaulay edge ideal whose height is half of the number of vertices