SPOJ FISHER Logging Floyd Warshall table as HTML