Update nthRoot Methods
Updated Main.cpp
Update Main.cpp