added CreatePlatoons function