Solutions to exercises listed in the book