Added #ifndef to top of each source file.

Added #ifndef to top of each source file in case it is included from the header file.