Updating the samples.
Merge pull request #25 from Rezmason/master

Updating the samples for Haxe 3.0