fixed script error

'figures' directory is necessary to make bookgen.rb work
Merge pull request #11 from hirotnk/feature/script_fix

fixed script error