removed unused return value
Added new function for Queue
Fixed function name
Added new function
subscript for Queue