C memory scanner. Assignment for C379