Update README. Add types to codeblocks