subtract one after length check
updated README for variable length and added TOC
Merge branch 'alpha'

* alpha:
  subtract one after length check updated README for variable length and added TOC
Added message for version 1.1.1