adding solution for tee

Solution for tee assignment