Fill graph function and prim files
Prim poczatek