Changed to prolog as github missunderstands pl