Simple table as queue implementation