Size and peek functions for arraylist
Functions to broadcast queue