Update DirtyMemory.pl

Fixed $level bug and added read Database function
Merge pull request #6 from sxe7532/patch-3

Update DirtyMemory.pl