get functions + tests and WarshallFloyd first implementation