Largest Series Product - Prolog | SlaveCode