add size() method and implement c'tor
add a couple of basic tests to Polyline class