Manji fix: uskladio da compile prolazi bez warninga za -Wpedantic -Wall. Provjerio valgrindom: All heap blocks were freed -- no leaks are possible; ERROR SUMMARY: 0 errors from 0 contexts