Eric Homework (First and Second Week)

I finally got this to work! These are the codes for the 1st and 2nd week.
As an alternative, you could also have the program randomly select a number using `rand(1..10)`