added fermat test and exercise 1.21