class library: moved nextN to Object

As the message 'nextN' is a close analog to the message 'next', it should be understood by the same (i.e. all) objects.