Algorithm To Implement Linear Queue