Adding lasts exercises for prolog.
Number for exercise 4 in prolog