fix remove_monkeysphere_lines function to just read from stdin and write to stdout