Computer scientists at Edinburgh University in Scotland have built a new algorithm for detecting fake or dishonest online profiles.