Added time lib.
done merge
Added re lib. complelted coding