Update ppr_flatten_rec.rb

Fixed typo