Fixing issue #1

I have used my samples from the book.