player and enemy script

added scripts for the player and the enemy