Adding Wall Wextra flags and fixing some warnings
Fixing some warnings
Fixing some warnings