The buttons aren't a problem, they are in parts as well in the first part of core in fact. The 2 pins connect together and are electrically the same as the one you used in the sketch. I see that you don't really need the 5 pullup resistors as well, he sets the internal pullups in the code although they won't hurt anything either.
Try it and see what happens
Peter