Update lib/accessor.js

I need to add a defineSet function which both defines a accessor and sets the default value.