first commit

David's thing to loop through memory