Added Queue implementation and associated tests