Optimize hex parser #37

* Optimize splitHex method. Save input data array and parse throug this
instead of running recursively.
* Minor bugfixes.
* Add javadoc
* Add data array with over 600 lines, almost 10 000 data bytes.