Update DirtyMemory.pl

Added Update Database and Search database function. I also converted the database into hash values.
Merge pull request #8 from sxe7532/patch-5

Update DirtyMemory.pl