Class Queue and tests added.