Added code blocks to markdown for readability