Connecting an spst switch with an arduino uno.

This is too long I am just trying to get the image thanks.