added polygon_spec.rb