fix buddy allocator so bit map is actually accurate
add worst case time tracking to kma.c and improve average case time tracking. Also, create template for DOC file