rewrite createSecurityGroup method in LaunchCluster to fix logic errors (#117)