For statement inside setup and loop function

I forgot to add void before setup and loop and the parentheses when i use the function digitalRead. With these changes the code compiles.