Help! Trying to modify Sketch

Arduino is not a toy u can just play and do things without some effort put into it. You cant follow the maxim"If everything else fails, read the instructions" or expect to just copy every thing you think cool, without having some knowledge to know what and when to change this or that !!
Do some reading, start from the beggining if u have no idea of programming and electronics, and climb the stairs...STEP BY STEP !!
robtillaart's code for example is a good example of a nice, tidy code and you can see he is a good programmer.
Dont stress of get frustrated. NO PAIN, NO GAIN !! He didnt learn all that in one day...Noone does !!