added src files

Avoid this style, place the conditioned statement on its own indented line. Braces optional by my style but others may insist. Up to you.