Finish easy problem 146: polygon perimeter