Added -Wall flag to project, fixed all warnings.