Updated the cpp source to use spaces instead of tabs