Added quoeue.h and changed function

Trying to get a function for check_buttons
(
System changes

Added queue.c file for queue systems
- added comment about improving modularity
- added ui functions