Simple memory tester forked from http://pyropus.ca/software/memtester/