Adding the original version from the blog.
Updated junit to the newest version (4.11).
Updated jline to the newest version (2.11).
Updated code to match the new structure of jline.