As for the app, it's called Wireless Tether. BUT... remember that with rooting, always has the chance of bricking your phone (meaning that It can't be used anymore :-\ )
But, it's quite rare.
if you just want to use your phone as a tether, there is an app, that works WITHOUT rooting. It's called FoxFi. Just try it out, see what happens!