Updated logic to draw points connected by lines on the map and updated test file.