Fixed output error and updated README.