Add memory profiling
Merge pull request #7 from crayZsaaron/Profiling

Add memory profiling