added bitmap.h and bitmap.c
added bitmap.h and bitmap.c
moved bitmap functions to bitmap.c