Removed some cout statements that may be causing a problem with standard
i/o