Fixed code formatting and README.md file for better understanding.