It was for a coding project. The exponents only go to the power of two. You should be able to figure it out on your own :)
Some class thingy... I think Coding For All