Weather prediction expert system using prolog