Create KineticPieces.java

Javascript code snippets in text form. They implement the visualization with calls to functions from the Kinetic.js library (also available on GitHub). Interpreter reads the snippets to make the final html5 page with JavaScript code.