(simple) Debouncing 2 button state machine

Course, States if you see, is what we named our enum. So consider it similar to a data type like float, String, char, int etc we created a variable called 'state' of type 'States' that we will use to store the current state, which will be equal to one of the enumerations we declared