Fixing the bug where the signed integer is overflowing by using BigInteg...

Signed integer value will overflow as current time in milli seconds is assigned to int data type. Using Big Integer data type will solve the prolbem.