Add all initial marble positions from nums to occupied_positions.
Iterate through each move in moveFrom and moveTo arrays.
a. Remove the moveFrom[i] position from occupied_positions.
b. Add the moveTo[i] position to occupied_positions.
After all moves are processed, convert occupied_positions to a list.