The program is good... so, have you wired it up correctly? Done something silly like put the LED in the wrong-way around? Got +5v on the right pin? Checked you've paid your electric bill?