Removed footer.
Fixed error on computing final scores.
Fixed minor issues on computing path length.