added more warnings with compilation flags and corrected several issues
memory allocator passes very simple tests