An alternative proof of Berg and Nikolaev’s characterization of CAT(0)-spaces via quadrilateral inequality