Implementation of Math.pow(x,n) added