Create flatmaxlengthstat.rb

Written by Tomoaki Nishiyama