Added nthRoot sub module.
Updated calculatePartition procedure (WIP)