Implemented queue, program works finne no error. TODO connect tail and head make it a circulating queue