Fix various mistakes. Now the second chapter is ready