Add mem.hence -- a program for calculating memory usage