A basic queue implementation using a singly-linked list