Created a charFIFO to store the button codes for proccesing by main