COMP 1900-Fall 2018 Lab 8 Homework: Methods and 2D Arrays (18 pts) Number of People: Individual Due: By the beginning of next week's lab session rader Please refer to the COMP 1900 syllabus for your lab TA. Questions about grading? Contact him her first Coding Style: Use camelCase for variable names, use consisteat indentation in your code, and include a reasonable amount of comments throughout your code. The TAs may deduct points for poor coding style. .Note the change in naming conventions for your folders-this is to make grading easier for the TAs! Within the 1900 folder on your desktop, create a new folder named LabSHWLastnameFirstname. Two-dimensional arrays are very useful for organizing large amounts of data. For example, suppose you have the following data on the number of points scored by each player on a basketball team over each game of a seven-game series. (If computer scientists ruled the world, the NBA Finals would totally start from Game ..) Player Tim the Enchanter Dora the Explorer Catherine the Great Suleiman the Magnificent Top the Inept GameO Game1 Game 2 Game 3 Game 4 Game 5 Game 6 23 18 14 17912 38 19 25 22 19 25 31 21 20 17 15 10 0 This information can be stored in a 2D array, where each row of the array represents a player and each column represents a game. Index [f]U] of this array is the number ofpoints scored by player i in gamej (where both i and j start counting from 0)- for example, index [0][5] is Tim the Enchanter's points scored in Game 5 Within your Lab8HW folder, create a new file named StatsAnalyzer java. Write the following methods (4 pts each) to process data stored in this format: 1. public static double averagePPG(intII scores, int p) This should return the average points per game of player p, based on the data in the array scores 2. publie static int singleGameScore(int[II scores, int g) This should return the total points scored (by the entire team) in game g, based on the data in the array scores. 3. public statie double averageGameScore(intI0 scores) This should return the average total points scored (by the entire team) per game, based on the data in the array scores. 4. public static int singleGameTopScoringPlayer(intIIl scores, int g This should return the index of the highest-scoring player in game g, based on the data in the array scores