Implemented queue using link list