Wrote a program to find memory information