add c99 flag
size_t -> int
add time measure functionality