Split up files.

Not done yet.
First successful build.

Build system is a bit more complex, but more flexible.
Added .gitignore.
Refactored print() functions into stream operators.
Removed debug echo from Makefile.
Merge pull request #1 from dbralir/refactor

Refactor