Fixed compiler warning and added README.md