Cut and paste from Code Academy

1st try of Code Academy. Don't hate.