Added -Wall into cmake and fixed all warnings
Also added -Werror -Wfatal-errors because im mean