Added implementation of ArrayQueueSingleton and testing it