# Functions
IsNil is a function that checks if a value is nil.
RunInPowerShell is a function that returns a function that runs a program in a new PowerShell process.
SplitIntoGroups splits the slice into n groups and returns a 2D slice where each inner slice represents a group.