trying to debug problem 2
fixed problem 2, now it works
completed surprise function
histogram problem works without a number input though
histogram problem attempt, not producing histogram, not recognizing my for loop
attempting #5
finally got the hist problem I think!
adding description of hist function
editing explaination of answers