Probs 1 and 2

Uploaded Problems 1 and 2. Created array and function to create an array
of y values.