Created algorithm to generate an array with top 10 optimal lineups