my code for the hulu challenge during Pycon 2014