Algorithm for the determination of a linear crack in an elastic body from boundary measurements