Update hw3-2

Rewrite function timeminus