Changing error hierarchy
Implementing a^b where b is an integer