Revert "Update Chap5.hs"

This reverts commit 236625616a7c887abc0103875fb6ff61011b8c69.