scripts for double checking my homework answers for stats 451