Now returning int instead of bool when checking if a list or queue is empty.
Made formatting consistent.