An element has expired if the current time is greater than the ttl

If the current time is greater than the time to live date, the element
has expired from the cache, not if its less than or equal.
Merge pull request #1 from Tylerc230/fix_time_to_live

Thanks for Tylerc230.
An element has expired if the current time is greater than the ttl