Control Arduino with Universal Remote

hi, sorry i didnt mean to confuse but i copied and pasted the original code posted by jmknapp and for some reason recieved those errors. i copied and pasted exactly and cannot get it to work.
any ideas?