Reformat Code

This change applies code formatting rules to all files. Previously
files had tab stops and spaces for tabs. This impaired readability
and made it difficult to glance at code.