Remove logs.
Modified the condition to less than or equal.
Added exponent rules for exponents less than 2.
Added error catching.
Use BIG_TWO as base exponent.