Numerically searching geodesic lines in space-time