two arduinos communicating together??

How about working through some of the examples before you do much more? You don't upload two sketches at once to one processor. One replaces the other.

Work your way through some of the tutorials. If you think we are going to sit here and just give you your homework packaged up and ready to go think again.

The whole idea here is that you learn something. So go back to the IDE, upload a blink sketch, see if it works. Then upload the sketch that reads the button and flashes the LED. Confirm it does that. Then upload the sketch I suggested that sends the button state out the serial monitor. Confirm it does that. Then look at writing a sketch for the second Arduino to receive the serial data.