markdown formatting changes to chapter 1

reformatted chapter 1
removed sed entry from bash section
cleaned up the sed entry in chapter 6