Added -Wextra -Wall option to Makefile and fix all the warnings