title: Generating 2nd Degree Polynomials Given 3-Tuples
body: <p>The purpose of this code is to define a sub apply_2nd_deg_polys that takes a list of anonymous 2nd degree
  polynomials and a list of numbers and applies each polynomial to each number in the list. 
  Any help is appreciated! (:</p>
  
  <pre><code>my @coeffs = ([1,2,3], [4,5,6]);
  my @polys = gen_2nd_deg_polys(@coeffs);
  my @numbers = (1..5);
  my @poly_maps = apply_2nd_deg_polys2(\@polys, \@numbers);
  </code></pre>
  
  <p>The output should be: </p>
  
  <pre><code>[('1x^2 + 2x + 3 at x = 1 is ', 6), ('4x^2 + 5x + 6 at x = 1 is ', 15), ('1x^2 + 2x + 3 at x = 2 is ', 11), ('4x^2 + 5x + 6 at
  x = 2 is ', 32), ('1x^2 + 2x + 3 at x = 3 is ', 18), ('4x^2 + 5x + 6 at x = 3 is ', 57), ('1x^2 + 2x + 3 at x = 4 is ', 27),
  ('4x^2 + 5x + 6 at x = 4 is ', 90), ('1x^2 + 2x + 3 at x = 5 is ', 38), ('4x^2 + 5x + 6 at x = 5 is ', 131)]
  </code></pre>
  
  <p>Here is the code I have so far...</p>
  
  <pre><code>sub apply_2nd_deg_polys{
      my @list = @_;
      my @polys = @{%_[0]}; my @numbers = @{@_[1]};
      push @list, $polys[0][i];
      push @list, $polys[i][0];
      return @list;
  
  }
  </code></pre>
  
  <p>Here is my WORKING Python variation of it:</p>
  
  <pre><code>def apply_2nd_deg_polys(polys,numbers):
      newlist = []
      for number in numbers:
          newlist.append(polys[0](number))
          newlist.append(polys[1](number))
      return newlist
  </code></pre>