A Parallel and a Distributed Implementation of the Core Paths Graph Algorithm