Added corrected the errors in chap 3