- Type of pool in Stack changed to Object;
 - Added tests in main().