Queue implementation on an array
Single linked list