Added cmd line arguments for splitLength and number of splits