Initilized result from subroutine
Removed comments, added rm output.txt
Added newline feed to sub.h