added power functions
Merge branch 'master' of https://github.com/vincentzhang96/cs190lab7
because vince edited shit at the same time as I