Queue and example usage with integers