simple array helpers - corewars