How to start sketch when button pressed.

Compiler tells you the problems.

switchpin is not the same as switchPin.. C++ is case sensitive.

byte run; is missing

You're missing a } at the end.