mostly working

key[0] slows, key[1] speeds up and key[2] resets like they should, but
there are random bugs that happen.  sometimes pressing things too fast
makes no lights appear at all and sometimes they stay on for too long.
can u look over this code and find any errors?  let's talk to the
professor during office hours today