Write a function that raises an integer to a positive integer power. Call the function x_to_the_n, taking two integer arguments x and n.
Have the function return a long int, which represents the results of calculating x to the nth power. Do not use the C pow library function.
Example: if x = 3 and n = 2, the function would return 9.
NOTE: Do not use recursion (since that version is in your lecture notes).