VISUAL PROLOG mixed programming example