fixed compile warnings caused by missing generic types
array resizing queue implemented for integers (make generic)