Fixed formating and minor errors, and missing end in post first chapter method from work.rb