Make a program which finds out the definite integral from 0 to 1 of any function of the form x^n using the Monte Carlo method. The user should supply the power of x (n), and number of trials. The output must be the single number representing the integral from 0 to 1.