Implementations of Project Euler problems in Prolog