Added boost library. Introduced a foreach macro.