CoordinateList Class modified

closeRing() methods has been added along with a testcase.