Tee program complete

It does what it's supposed to, but the solution seemed way too simple. Was I supposed to do something more elaborate with stdin/stdout and/or pipes?
Updated program to use stdout - https://github.com/MJGrant/sea-b20-day6hw-TeeProgram/pull/1