Enemy Script added

added enemy.js, included test example in core