changes to enemy

added target variable to keep a reference to the main player