Memory managment project for cs417 summer 2014