Remove #include<iostream>, which I was using for debugging.