Create standard src & include directory structure. Write Makefile.
Fix uninitialized values in main.c
Fix some errors in map.h/map.c
Fix more errors in map.h/map.c
Fix buffer overflow in map.c