Removed #include<iostream> which was only used for debugging this class.