Update floyd_warshall.rb