Implement simple int array memory