writing filled memory values: 1: 0 2: 1 3: 1024 4: 16383 5: 12345