Algorithm performing stack operation