Implement Push And Pop Algorithm Of Quick