very lousy stack implementation; tcp/ip stack implementation to clear concepts about stack itself.