GenericList: implemented more methods from the MDN Array.prototype documentation, also added new class Generic