added groupExecuteTask function
enhanced spawnEnemyGroup and groupExecuteTask