Complete solution for problem 16.

- Make use of java's BigInteger class in order to handle the large
  values. One can specify the power that they wish to calculate with.