achieved basic enemy code