Added remaining time function

I created the timeRemaining function based on timeElapsed function.
Merge pull request #3 from monghuz/patch-1

Added remaining time function