modified 03-index about bool
modified 04

based on advices from C++ programmer of darkness.