ImprovedStackImpl and Tests added. Minor bugs fixed.