Finished findNetwork!

i think.... needs more testing...
And i didnt test white yet...