assignment

Created a class called Grid which takes 2 arguments 1 : data 2 : wrapper : refering to the parent element of dynamically appended data Grid class has 3 methods 1: Render This render method loops through the data passed and appened it to wrapper 2: Sortered This method is used to sort the array 3: Shuffled This method is used to shuffle existing array

The Grid class can be used to create a new object which calls the respective method