Made time_difference() shorter.
Added a test for 2 char and 1024 char long strings.