fix type in README.md, transcribe basics from the textbook