Fix typos

I also added a commit to change the function separator comment to create cells for easier visual distinction of different functions.