Converting TABS to spaces and loosening compiler requirements

The program now compiles with gcc 4.6