Searching for Optimal Off-Line Exploration Paths in Grid Environments for a Robot with Limited Visibility