hello everyone, so my problem is with the button close to the 13º digital pin that, supposedly when i pressed the button it starts to print "e", but i dont press anything and the "e"s are getting printed
That diagram is hard to read. As far as I can see the button is wired wrong. Wire one side of the switch to ground. Wire a diagonal terminal of the switch to an input. In setup(), set the pinMode of the input to INPUT_PULLUP. The switch will read HIGH when not pressed and LOW when pressed. Adjust the logic in the code appropriately.
The program is behaving correctly because pin 13 is effectively open circuit.
If you expect the input to read a sensible value then you must apply a sensible logic value to it.
This page explains how to properly connect logical input devices (switches etc) to your arduino.
Only with small form-factor boards, like a classic Nano. Pin13 is buffered with an opamp on an Uno R3, so not a problem to use that pin as input. Still wise to leave pin13 as the last available pin.
You should connect the button between pin and ground, with pinMode changed to pinMode (buttonPin, INPUT_PULLUP);
That eliminates the need to use a pull up/down resistor, which you currently haven't got.
That change also changes logic. The pin now becomes LOW when pressed.