Added degrees_of_freedom with passing tests
Added polygon_name function with passing tests up to 10 sides