My problem is, I can not figure out how to properly program the button.
I think you need to use a separate programmer for that.
Now, programming an Arduino to deal with a switch is a different story.
I know it's kinda messy
Messy is OK. You can use Tools + Auto format to correct that. Miles long is another matter.
Dump that sketch. Write some code that does nothing but read the switch(es), and turn on or off some LEDs to get a sense of what the switch is doing. Once you understand the basics, applying them to your program will be much easier.
For instance, you are not using the internal pullup resistors. This means that you need external pullup or pulldown resistors. Do you have them? How ARE the switches wired?
When you say "it didn't work", you aren't giving us anything to go on. "I expected this or that to happen. Instead, what happened was..." is much more useful information.