[S04][E01] Horrible solution using Floyd_Warshall