fix build error
add memory_pool.c
Merge pull request #8 from imasahiro/refactor

refactor