added crude Floyd Warshal implementation
small changes to floydWarshall