Thanks for all of your replies. The IRLB8721 did not work, but it may have been an issue on my part. What did work was this.
So part of the code is working, but the part that controls the button is not.
The plan was to check the status of a momentary button (pin2), and if it is low (or high)...