Removed a print statement. Also fixed a big bug, but that's much less important.