Added conditions for a base < 2 or > 36 that will return an appropiate message