fix the bug of not having vi defined in header.cpp

also changed tab to space and reordered includes alphabetically
Merge pull request #5 from danielf/bug_fix_header

fix the bug of not having vi defined in header.cpp