Fixing the name of hasError Method
Adding the readme file