Changed README.md, edited errors in main class and example files