Hawick and James algorithm for finding simples cicles in a pseudograph